package com.isdepci.project.eleLoad.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 定额信息对象 a_quota_information
 *
 * @author isdepci
 * @date 2025-02-26
 */
public class AQuotaInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long quotaId;

    /** 定额编号 */
    @Excel(name = "定额编号")
    private String quotaCode;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 基价(元) */
    @Excel(name = "基价(元)")
    private BigDecimal basePrice;

    /** 人工费(元) */
    @Excel(name = "人工费(元)")
    private BigDecimal laborCost;

    /** 材料费(元) */
    @Excel(name = "材料费(元)")
    private BigDecimal materialCost;

    /** 机械费(元) */
    @Excel(name = "机械费(元)")
    private BigDecimal machineryCost;


    /** 名称 */
    @Excel(name = "名称")
    private String iname;

    /** 单位 */
    @Excel(name = "单位")
    private String machineryUnit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal number;

    public void setQuotaId(Long quotaId)
    {
        this.quotaId = quotaId;
    }

    public Long getQuotaId()
    {
        return quotaId;
    }
    public void setQuotaCode(String quotaCode)
    {
        this.quotaCode = quotaCode;
    }

    public String getQuotaCode()
    {
        return quotaCode;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setBasePrice(BigDecimal basePrice)
    {
        this.basePrice = basePrice;
    }

    public BigDecimal getBasePrice()
    {
        return basePrice;
    }
    public void setLaborCost(BigDecimal laborCost)
    {
        this.laborCost = laborCost;
    }

    public BigDecimal getLaborCost()
    {
        return laborCost;
    }
    public void setMaterialCost(BigDecimal materialCost)
    {
        this.materialCost = materialCost;
    }

    public BigDecimal getMaterialCost()
    {
        return materialCost;
    }
    public void setMachineryCost(BigDecimal machineryCost)
    {
        this.machineryCost = machineryCost;
    }

    public BigDecimal getMachineryCost()
    {
        return machineryCost;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname;
    }

    public String getMachineryUnit() {
        return machineryUnit;
    }

    public void setMachineryUnit(String machineryUnit) {
        this.machineryUnit = machineryUnit;
    }

    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("quotaId", getQuotaId())
            .append("quotaCode", getQuotaCode())
            .append("projectName", getProjectName())
            .append("unit", getUnit())
            .append("basePrice", getBasePrice())
            .append("laborCost", getLaborCost())
            .append("materialCost", getMaterialCost())
            .append("machineryCost", getMachineryCost())
            .toString();
    }
}
